package com.cdsf.webservice;

import com.cdsf.kennedy.user.domain.User;
import org.springframework.stereotype.Component;

import javax.jws.WebService;

/**
 * @Author: kennedy
 * @Date: Created in 15:20 2018/2/28
 */
@WebService
@Component
public class NetWebServiceImpl implements NetWebService {
    @Override
    public String sayHello(String name) {
        return "hello , " + name;
    }

    @Override
    public Boolean add(User user) {
        return true;
    }
}
